const mongoose = require('mongoose')
const Schema = mongoose.Schema

const leavewordsSchema = new Schema({
  studentId: {
    type: String,
    required: true
  },
  teacherId: {
    type: String,
    required: true
  },
  words: {
    type: Array,
    required: true
  }
})

module.exports = mongoose.model('Leaveword', leavewordsSchema)